#ifndef PROGRESSRING_H
#define PROGRESSRING_H

#include <QWidget>

class ProgressRing : public QWidget
{
	Q_OBJECT
public:
	explicit ProgressRing(QWidget *parent = 0);

public slots:
	void SlotProgressStart();
	void SlotProgressEnd();

protected:
	void paintEvent(QPaintEvent *event);
	void timerEvent(QTimerEvent *event);

private:
	QImage m_img;
	int m_iRot;
	int m_iTimerID;
};

#endif // PROGRESSRING_H
